package boot.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * <b><code>Message</code></b>
 *
 * <p>Description 消息类
 *
 * <p><b>Creation Time:</b>2020-08-06-19:14
 *
 * @author hailan
 * @since kafkalearning 0.0.1
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Message {
  private String BizData;
  private String BizId;
  private String CoordinateSystem;
  private long CreateTime;
  private String GeometryType;
  private String LayerCode;
  private String LayerName;
  private String Operation;
  private String ResourceName;
  private String SourceApp;
  private Point point;

  @Data
  public static class Point {
    List<Double> coordinates;
    String type;
  }
}
